package cn.wetcland.urban.framework.service.impl;

import cn.wetcland.urban.framework.mapper.UtSwiperMapper;
import cn.wetcland.urban.framework.service.UtSwiperService;
import cn.wetcland.urban.framework.vo.SwiperListItemVO;
import cn.wetcland.urban.generator.domain.UtSwiper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
* @author hongyao.tan
* @description 针对表【ut_swiper】的数据库操作Service实现
* @createDate 2024-03-07 17:17:42
*/
@Service
public class UtSwiperServiceImpl extends ServiceImpl<UtSwiperMapper, UtSwiper> implements UtSwiperService {

    @Resource
    public UtSwiperMapper swiperMapper;

    @Override
    public List<SwiperListItemVO> customerHomeSwiper() {
        return swiperMapper.selectCustomerHomeSwiper();
    }

    @Override
    public List<SwiperListItemVO> driverHomeSwiper() {
        return swiperMapper.selectDriverHomeSwiper();
    }
}




